getCurrentAdminProfile
get
                    /ccagent/v1/adminProfiles/current
Get Current Admin Profile. Get the current profile information.
                Request
Supported Media Types
                - application/json
Query Parameters
                - 
                        includeAllowedActions(optional): boolean
                        
                        If we want allowed actions for user, then pass true for this variable
Response
Supported Media Types
                - application/json
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : getCurrentAdminProfile_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            actions(optional): 
            array  actions
            
            Array of roles assigned to this profile.
- 
            active(optional): 
            boolean
            True if the user is active; false if the user is deactivated.
- 
            email(optional): 
            string
            Email address and login name of the profile.
- 
            firstName(optional): 
            string
            First name of the profile.
- 
            id(optional): 
            string
            ID of this profile.
- 
            lastName(optional): 
            string
            Last name of user.
- 
            registrationDate(optional): 
            string
            User's registration date.
- 
            roles(optional): 
            array  roles
            
            Array of roles assigned to this profile.
- 
            tourComplete(optional): 
            boolean
            True if the user has completed the walk-through tour of the admin product.
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            repositoryId(optional): 
            string
            Repository ID of role.
Example Response (application/json)
                    {
    "lastName":"Admin",
    "firstName":"Amber",
    "tourComplete":true,
    "roles":[
        {
            "repositoryId":"adminRole"
        }
    ],
    "registrationDate":"2014-09-24 13:50:00",
    "active":true,
    "id":"iuser260015",
    "actions":[
        "worksetsAccess",
        "publishingAccess",
        "settingsTab",
        "mediaTab",
        "reportsTab"
    ],
    "email":"admin@example.com"
}Default Response
The error response
                
                
                    Root Schema : errorModel
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            errors(optional): 
            array  errors
            
            An optional list of errors if multiple errors were encountered
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code
- 
            type(optional): 
            string
            The URI to the HTTP state code definition
Nested Schema : errors
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn optional list of errors if multiple errors were encountered
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code