| IDatabaseRepositoryHasAuthorization Method (IPackage, String, Int32) | 
            Detects if the user has the required authorization level for the package.
            
 
Namespace: PDTec.IceNet.Core.DatabaseAssembly: PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntaxbool HasAuthorization(
	IPackage pPackage,
	string userName,
	int authLevelRequired
)
Parameters
- pPackage
 - Type: PDTec.IceNet.Core.ModelIPackage
The package. - userName
 - Type: SystemString
The user name. - authLevelRequired
 - Type: SystemInt32
The required authorization level. 
Return Value
Type: 
Booleantrue if the user has the required authorization level, otherwise 
false.
Remarks
            This method recognizes authorization derived by group/role membership and 
            from profile "System.All". 
            To retrieve the actual ACL entries of this package use the 
GetAuthorizations(IPackage) method.
            
See Also