Click or drag to resize

IDatabaseRepositoryHasQualification Method (IObject, String, String)

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
)

Parameters

pObject
Type: PDTec.IceNet.Core.ModelIObject
The object.
userName
Type: SystemString
The user name.
qualificationName
Type: SystemString
The qualification name.

Return Value

Type: Boolean
true if the user has the required authorization level, otherwise false.
Remarks
This method recognizes qualifications derived by group/role membership and from profile "System.All". To retrieve the actual ACL entries of this party use the GetQualifications(IObject) method.
See Also