Method | Description | |
---|---|---|
IsAllowedByDefault ( string action ) : bool |
If a user or role is not specifically allowed or denied to perform the selected action, return
|
|
IsAuthorized ( string action, Rock person ) : bool |
Return
|
|
IsPrivate ( string action, Person person ) : bool |
Determines whether the specified action is private (Only the current user has access).
|
|
MakePrivate ( string action, Person person, |
Makes the action on the current entity private (Only the current user will have access).
|
|
MakeUnPrivate ( string action, Person person, |
If action on the current entity is private, removes security that made it private.
|
|
Read ( int id ) : |
Reads the specified id.
|
|
ToString ( ) : string |
Just return empty string
|
public IsAllowedByDefault ( string action ) : bool | ||
action | string | The action. |
return | bool |
public IsAuthorized ( string action, Rock person ) : bool | ||
action | string | The action. |
person | Rock | The person. |
return | bool |
public IsPrivate ( string action, Person person ) : bool | ||
action | string | The action. |
person | Person | The person. |
return | bool |
public MakePrivate ( string action, Person person, |
||
action | string | The action. |
person | Person | The person. |
rockContext | The rock context. | |
return | void |
public MakeUnPrivate ( string action, Person person, |
||
action | string | The action. |
person | Person | The person. |
rockContext | The rock context. | |
return | void |
public static Read ( int id ) : |
||
id | int | The id. |
return |