Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

PermissionAudit class

From Catglobe Wiki
Revision as of 09:35, 24 April 2020 by Administrator (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=<nowiki>PermissionAudit</nowiki> |Description=<nowiki>Auditing permissions</nowiki> |Constructors= {{CGscriptConstructors_Template|Parameters= {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

PermissionAudit



Auditing permissions

Constructors

  • (Unknown resourceIds "Ids of the resources to check access to", Unknown userResourceIds "Ids of the user to calculate permissions for", Unknown groupResourceIds "Ids of the user to calculate permissions for") - Calculate the permissions on resources by the given groups and users

Methods

  • int GetEffectivePermissionForUser(int resourceId "Id of the resource to check access to", int userResourceId "User to check permission for") - Get the actual permission given to a given resource by the given user
  • string ToString() - The string representation of the object.

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • TypeInformation TypeInformation { get; } - Get information about this class.