Class KiiAnonymousUser
Represent an anonymous user for setting the ACL of an object. This will include anyone using the application but have not signed up or authenticated as registered user.
When retrieving ACL from an object, test for this class to determine the subject type.
Defined in: KiiSDK.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
getID()
Returns the ID of Anonymous user.
|
Class Detail
KiiAnonymousUser()
var entry = ... // Retrieved ACL entry if(entry.getSubject() instanceof KiiAnonymousUser) { // the ACL is set for anonymous users }
Method Detail
getID()
Returns the ID of Anonymous user.