Click or drag to resize

IDatabaseRepositoryHasQualification Method (IObject, String, String, AuthorizationQueryOptions)

Detects if the user has the required qualification for the object.

Namespace:  PDTec.IceNet.Core.Database
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
bool HasQualification(
	IObject pObject,
	string userName,
	string qualificationName,
	AuthorizationQueryOptions options
)

Parameters

pObject
Type: PDTec.IceNet.Core.ModelIObject
The object.
userName
Type: SystemString
The user name.
qualificationName
Type: SystemString
The qualification name.
options
Type: PDTec.IceNet.Core.DatabaseAuthorizationQueryOptions
Determines if authorization derived from memberships or profile "System.All" are recognized.

Return Value

Type: Boolean
true if the user has the required authorization level, otherwise false.
See Also