public class CreateUserRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateUserRequest() |
CreateUserRequest(CreateUserRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Policy[] |
getPolicySet()
Get Collections of permissions bound to users
|
String |
getUserAlias()
Get User alias, and its characters are less than 50.
|
String |
getUserDescription()
Get User description, which can make it easy to identify different users.
|
String |
getUserId()
Get Sub-user UIN that needs to be granted permissions.
|
String |
getUserType()
Get Types of users.
|
Long[] |
getWorkGroupIds()
Get Collection of IDs of working groups bound to users
|
void |
setPolicySet(Policy[] PolicySet)
Set Collections of permissions bound to users
|
void |
setUserAlias(String UserAlias)
Set User alias, and its characters are less than 50.
|
void |
setUserDescription(String UserDescription)
Set User description, which can make it easy to identify different users.
|
void |
setUserId(String UserId)
Set Sub-user UIN that needs to be granted permissions.
|
void |
setUserType(String UserType)
Set Types of users.
|
void |
setWorkGroupIds(Long[] WorkGroupIds)
Set Collection of IDs of working groups bound to users
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateUserRequest()
public CreateUserRequest(CreateUserRequest source)
public String getUserId()
public void setUserId(String UserId)
UserId
- Sub-user UIN that needs to be granted permissions. It can be checked through the upper right corner of Tencent Cloud Console → Account Information → Account ID.public String getUserDescription()
public void setUserDescription(String UserDescription)
UserDescription
- User description, which can make it easy to identify different users.public Policy[] getPolicySet()
public void setPolicySet(Policy[] PolicySet)
PolicySet
- Collections of permissions bound to userspublic String getUserType()
public void setUserType(String UserType)
UserType
- Types of users. ADMIN: administrators; COMMON: general users. When the type of user is administrator, the collections of permissions and bound working groups cannot be set. Administrators own all the permissions by default. If the parameter is not filled in, it will be COMMON by default.public Long[] getWorkGroupIds()
public void setWorkGroupIds(Long[] WorkGroupIds)
WorkGroupIds
- Collection of IDs of working groups bound to userspublic String getUserAlias()
public void setUserAlias(String UserAlias)
UserAlias
- User alias, and its characters are less than 50.Copyright © 2024. All rights reserved.