public interface Principal
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Get the name of the principal (user or group) this object refers to.
|
PrincipalType |
getType()
Get the type of principal (user or group) this object refers to.
|
void |
setName(java.lang.String value)
Set the name of the principal (user or group) this object refers to.
|
void |
setType(PrincipalType value)
Set the type of principal (user or group) this object refers to.
|
java.lang.String getName()
String containing the name of the principal.com.sap.sl.sdk.authoring.cms.UniverseSecurityCache#getPrincipals(SecurityProfile) UniverseSecurityCache.getPrincipals(SecurityProfile)}void setName(java.lang.String value)
value - A String containing the name of the principalcom.sap.sl.sdk.authoring.cms.UniverseSecurityCache#getPrincipals(SecurityProfile) UniverseSecurityCache.getPrincipals(SecurityProfile)}PrincipalType getType()
PrincipalType.USER if the principal is a user, or PrincipalType.USER_GROUP if the principal is a group.com.sap.sl.sdk.authoring.security.PrincipalType PrincipalType},
com.sap.sl.sdk.authoring.cms.UniverseSecurityCache#getPrincipals(SecurityProfile) UniverseSecurityCache.getPrincipals(SecurityProfile)}void setType(PrincipalType value)
value - PrincipalType.USER if the principal is a user, or PrincipalType.USER_GROUP if the principal is a group.com.sap.sl.sdk.authoring.security.PrincipalType PrincipalType},
com.sap.sl.sdk.authoring.cms.UniverseSecurityCache#getPrincipals(SecurityProfile) UniverseSecurityCache.getPrincipals(SecurityProfile)}