Class User
- java.lang.Object
-
- com.avoka.component.sharepoint.type.User
-
public class User extends Object
Provides a User type SharePoint class.- Since:
- 3.5.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true of the given object is equal.String
getEmail()
Return the user email.String
getFlags()
Return the user flags.String
getId()
Return the user id.boolean
getIsDomainGroup()
Return true if is a domain group.boolean
getIsSiteAdmin()
Return true if the user is a site admin.String
getLoginName()
Return the user login name.String
getName()
Return the user name.String
getNotes()
Return the user notes.String
getSid()
Return the user SID.int
hashCode()
void
setEmail(String email)
Set the user email.void
setFlags(String flags)
Set the user flags.void
setId(String id)
Set the user id.void
setIsDomainGroup(boolean isDomainGroup)
Set whether is a domain group.void
setIsSiteAdmin(boolean isSiteAdmin)
Set whether the user is a site admin.void
setLoginName(String loginName)
Set the user login name.void
setName(String name)
Set the user name.void
setNotes(String notes)
Set the user notes.void
setSid(String sid)
Set the user SID.
-
-
-
Constructor Detail
-
User
public User()
Create an empty user object.
-
User
public User(String email, String flags, String id, Boolean domainGroup, Boolean siteAdmin, String loginName, String name, String notes, String sid)
Create a user with the given parameters.- Parameters:
email
- the user emailflags
- the user flagsid
- the user iddomainGroup
- the user domain group flagsiteAdmin
- the user is a site admin flagloginName
- the user login namename
- the user namenotes
- the user notessid
- the user SID
-
-
Method Detail
-
getEmail
public String getEmail()
Return the user email.- Returns:
- the email
-
setEmail
public void setEmail(String email)
Set the user email.- Parameters:
email
- the email to set
-
getFlags
public String getFlags()
Return the user flags.- Returns:
- the flags
-
setFlags
public void setFlags(String flags)
Set the user flags.- Parameters:
flags
- the flags to set
-
getId
public String getId()
Return the user id.- Returns:
- the id
-
setId
public void setId(String id)
Set the user id.- Parameters:
id
- the id to set
-
getIsDomainGroup
public boolean getIsDomainGroup()
Return true if is a domain group.- Returns:
- the isDomainGroup
-
setIsDomainGroup
public void setIsDomainGroup(boolean isDomainGroup)
Set whether is a domain group.- Parameters:
isDomainGroup
- the isDomainGroup to set
-
getIsSiteAdmin
public boolean getIsSiteAdmin()
Return true if the user is a site admin.- Returns:
- the isSiteAdmin
-
setIsSiteAdmin
public void setIsSiteAdmin(boolean isSiteAdmin)
Set whether the user is a site admin.- Parameters:
isSiteAdmin
- the isSiteAdmin to set
-
getLoginName
public String getLoginName()
Return the user login name.- Returns:
- the loginName
-
setLoginName
public void setLoginName(String loginName)
Set the user login name.- Parameters:
loginName
- the loginName to set
-
getName
public String getName()
Return the user name.- Returns:
- the name
-
setName
public void setName(String name)
Set the user name.- Parameters:
name
- the name to set
-
getNotes
public String getNotes()
Return the user notes.- Returns:
- the notes
-
setNotes
public void setNotes(String notes)
Set the user notes.- Parameters:
notes
- the notes to set
-
getSid
public String getSid()
Return the user SID.- Returns:
- the sid
-
setSid
public void setSid(String sid)
Set the user SID.- Parameters:
sid
- the sid to set
-
equals
public boolean equals(Object o)
Return true of the given object is equal.
-
-