메소드 | 설명 | |
---|---|---|
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. |
리턴 | bool |
public IsAuthorized ( string action, Rock person ) : bool | ||
action | string | The action. |
person | Rock | The person. |
리턴 | bool |
public IsPrivate ( string action, Person person ) : bool | ||
action | string | The action. |
person | Person | The person. |
리턴 | bool |
public MakePrivate ( string action, Person person, |
||
action | string | The action. |
person | Person | The person. |
rockContext | The rock context. | |
리턴 | void |
public MakeUnPrivate ( string action, Person person, |
||
action | string | The action. |
person | Person | The person. |
rockContext | The rock context. | |
리턴 | void |