Create a new permission.
None.
This object takes all the parameters needed to create a new permission.
System.Collections.ObjectModel.Collection`1[Connections.API.Areas.HelpPage.ModelDescriptions.ParameterDescription] IList|
ID
globally unique identifier
Required on Update
ID of the permission. |
|
RowID
globally unique identifier
Required on Create
ID of the object to be secured. |
|
PrincipalID
globally unique identifier
Required on Create
User ID or Security Group ID for the permission. |
|
ChildType
integer
Required on Create
Type of the child permissions. Possible childtypes are: Null = Top level security, department(19), dialog(9, 25, 38), metric(7, 16, 58), organization(4), project(15). All other numbers will be treated as null. |
|
CreateState
integer
Required
Create security setting for the given object. |
|
ReadState
integer
Required
Read security settings for the given object. |
|
UpdateState
integer
Required
Update security settings for the given object. |
|
DeleteState
integer
Required
Delete security settings for the given object. |
|
DelegateState
integer
Required
Delegate security settings for the given object. |
|
SiteID
globally unique identifier
ReadOnly
ID of the given site. |
|
RowType
integer
ReadOnly
Row type of the given object. |
|
PrincipalName
string
ReadOnly
Name of the individual/security group for which to change/read security. |
|
PrincipalType
integer
ReadOnly
Type of the individual/security group for which to change/read security. |
|
RowName
string
ReadOnly
Name of the object for which to change/read security. |
|
CreateText
string
ReadOnly
Text value for CreateState; Not Set, Allow, Deny |
|
ReadText
string
ReadOnly
Text value for ReadState; Not Set, Allow, Deny |
|
UpdateText
string
ReadOnly
Text value for UpdateState; Not Set, Allow, Deny |
|
DeleteText
string
ReadOnly
Text value for DeleteState; Not Set, Allow, Deny |
|
DelegateText
string
ReadOnly
Text value for DelegateState; Not Set, Allow, Deny |
<Permission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://col4.com/api/v4"> <ID>1e9825d0-5db8-492b-a11f-617c19916e6f</ID> <RowID>34d131ba-4581-4903-b1cd-4d25faae2d35</RowID> <PrincipalID>21b6938f-c4ff-4380-8e8c-2f246a9ac42f</PrincipalID> <ChildType>1</ChildType> <CreateState>1</CreateState> <ReadState>1</ReadState> <UpdateState>1</UpdateState> <DeleteState>1</DeleteState> <DelegateState>1</DelegateState> </Permission>
{
"ID": "1e9825d0-5db8-492b-a11f-617c19916e6f",
"RowID": "34d131ba-4581-4903-b1cd-4d25faae2d35",
"PrincipalID": "21b6938f-c4ff-4380-8e8c-2f246a9ac42f",
"ChildType": 1,
"CreateState": 1,
"ReadState": 1,
"UpdateState": 1,
"DeleteState": 1,
"DelegateState": 1
}
|
ID
globally unique identifier
Required on Update
ID of the permission. |
|
RowID
globally unique identifier
Required on Create
ID of the object to be secured. |
|
PrincipalID
globally unique identifier
Required on Create
User ID or Security Group ID for the permission. |
|
ChildType
integer
Required on Create
Type of the child permissions. Possible childtypes are: Null = Top level security, department(19), dialog(9, 25, 38), metric(7, 16, 58), organization(4), project(15). All other numbers will be treated as null. |
|
CreateState
integer
Required
Create security setting for the given object. |
|
ReadState
integer
Required
Read security settings for the given object. |
|
UpdateState
integer
Required
Update security settings for the given object. |
|
DeleteState
integer
Required
Delete security settings for the given object. |
|
DelegateState
integer
Required
Delegate security settings for the given object. |
|
SiteID
globally unique identifier
ReadOnly
ID of the given site. |
|
RowType
integer
ReadOnly
Row type of the given object. |
|
PrincipalName
string
ReadOnly
Name of the individual/security group for which to change/read security. |
|
PrincipalType
integer
ReadOnly
Type of the individual/security group for which to change/read security. |
|
RowName
string
ReadOnly
Name of the object for which to change/read security. |
|
CreateText
string
ReadOnly
Text value for CreateState; Not Set, Allow, Deny |
|
ReadText
string
ReadOnly
Text value for ReadState; Not Set, Allow, Deny |
|
UpdateText
string
ReadOnly
Text value for UpdateState; Not Set, Allow, Deny |
|
DeleteText
string
ReadOnly
Text value for DeleteState; Not Set, Allow, Deny |
|
DelegateText
string
ReadOnly
Text value for DelegateState; Not Set, Allow, Deny |
<Permission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://col4.com/api/v4"> <ID>bc9cc17b-5dd6-420d-bba6-b4eeb676af6d</ID> <RowID>b7af6634-4349-4b21-901a-938d1155a4a7</RowID> <PrincipalID>43b0eb64-7e98-4ab3-b604-082b67113142</PrincipalID> <ChildType>1</ChildType> <CreateState>1</CreateState> <ReadState>1</ReadState> <UpdateState>1</UpdateState> <DeleteState>1</DeleteState> <DelegateState>1</DelegateState> <SiteID>279d9fce-5f4c-4f88-a6f3-2d42adbb0393</SiteID> <RowType>1</RowType> <PrincipalName>sample string 1</PrincipalName> <PrincipalType>1</PrincipalType> <RowName>sample string 2</RowName> <CreateText>sample string 3</CreateText> <ReadText>sample string 4</ReadText> <UpdateText>sample string 5</UpdateText> <DeleteText>sample string 6</DeleteText> <DelegateText>sample string 7</DelegateText> </Permission>
{
"ID": "bc9cc17b-5dd6-420d-bba6-b4eeb676af6d",
"RowID": "b7af6634-4349-4b21-901a-938d1155a4a7",
"PrincipalID": "43b0eb64-7e98-4ab3-b604-082b67113142",
"ChildType": 1,
"CreateState": 1,
"ReadState": 1,
"UpdateState": 1,
"DeleteState": 1,
"DelegateState": 1,
"SiteID": "279d9fce-5f4c-4f88-a6f3-2d42adbb0393",
"RowType": 1,
"PrincipalName": "sample string 1",
"PrincipalType": 1,
"RowName": "sample string 2",
"CreateText": "sample string 3",
"ReadText": "sample string 4",
"UpdateText": "sample string 5",
"DeleteText": "sample string 6",
"DelegateText": "sample string 7"
}