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: 6.0.0.0 (6.0.6225.27214)
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